package com.chang.bootplus.mapper;

import com.chang.bootplus.entity.News;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chang.bootplus.po.NewsSelBackPO;
import com.chang.bootplus.po.NewsSelPO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chang
 * @since 2022-01-23
 */
@Repository
public interface NewsMapper extends BaseMapper<News> {
    List<News> listNews(NewsSelPO po);
    List<News> listNews2(NewsSelPO po);

    List<News> listBackNews(NewsSelBackPO po);
    List<News> listBackNews2(NewsSelBackPO po);
}
